    <div id="breadcrumbs"><?php echo $this->Html->link('Home', array('controller' => 'contents', 'action' => 'view', 'home')); ?> > <?php echo $this->Html->link('List Resources', array('controller'=>'Resources', 'action'=>'index'));?> > Add Resource
</div>

<div class="resources form">
<?php echo $this->Form->create('Resources',
  array(
   'inputDefaults' => array(
    'required' => false,
   ),
  )); ?>
	<fieldset>
		<h2><?php echo __('Add Resource'); ?></h2>
	<?php
		echo $this->Form->input('Resource.res_name', array('label'=>'Resource'));
		echo $this->Form->input('Resource.res_desc', array('label'=>'Description'));
                echo $this->Form->input('Language', array('type' =>'select', 'options' => $language));
                echo $this->Form->input('Resource.content',array('type'=>'textarea'));
		echo $this->Form->input('Resource.cat_id', array('label'=>'Category'));
                echo $this->Form->input('Resource.q_id',array('options' => $questionnaire,'label'=>'Questionnaire'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('List Resources'), array('action' => 'index')); ?></li>
	</ul>
</div>
